cmake_minimum_required(VERSION 3.26)
project(c_st C)

set(CMAKE_C_STANDARD 99)

add_executable(c_st main.c)


add_executable(01_hello chapter01/01_hello.c
        chapter02/string.c
        chapter03/point.c)
add_executable(array01 chapter02/array01.c)

add_executable(string chapter02/string.c)
add_executable(point chapter03/point.c)

add_executable(array chapter03/array.c)